@import "https://at.alicdn.com/t/c/font_3860774_zpt7qg1v9ap.css";

:root {
    font-family: Inter, Avenir, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    color-scheme: light dark;
    color: rgba(255, 255, 255, 0.87);
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%;
    --fade-in-animation: 0.5s;
}

/* 动画类 */
.fade-in-element {
    animation: fadeIn var(--fade-in-animation) ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* 公共布局方式 */
.container {
    background-color: #2c3051;
    display: flex;
    overflow: hidden;
    height: 100%;
}

.mini-container {
    padding: 2.5rem 1.7rem;
    background-color: #363b5f;
    border-radius: 5px;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    display: flex;
    place-items: center;
    min-width: 100vw !important;
    min-height: 100vh !important;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    /* fallback for old browsers */
    /* Chrome 10-25, Safari 5.1-6 */
    background: -webkit-linear-gradient(
            to right,
            rgb(15, 12, 41),
            rgb(48, 43, 99),
            rgb(36, 36, 62)
    );
    background: linear-gradient(
            to right,
            rgb(15, 12, 41),
            rgb(48, 43, 99),
            rgb(36, 36, 62)
    );
}

h1 {
    font-size: 3.2em;
    line-height: 1.1;
}

li {
    list-style: none;
}

button {
    border-radius: 8px;
    border: 1px solid transparent;
    padding: 0.6em 1.2em;
    font-size: 1em;
    font-weight: 500;
    font-family: inherit;
    background-color: #1a1a1a;
    cursor: pointer;
    transition: border-color 0.25s;
}

button:focus,
button:focus-visible {
    outline: 4px auto -webkit-focus-ring-color;
}

.card {
    padding: 2em;
}

#app {
    max-width: 1280px;
}

a {
    text-decoration: none;
    color: inherit;
}

@media (prefers-color-scheme: light) {
    :root {
        color: #213547;
        background-color: #ffffff;
    }

    button {
        background-color: #f9f9f9;
    }
}
